/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * PnlEditCheckProduct.java
 *
 * Created on 2 ก.พ. 2553, 17:10:02
 */

package warehouse;

/**
 *
 * @author Poko
 */
public class PnlCheckProduct_ extends javax.swing.JPanel {

    /** Creates new form PnlEditCheckProduct */
    public PnlCheckProduct_() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        pnlHeadEditCheck = new javax.swing.JPanel();
        lblHeadEditCheck = new javax.swing.JLabel();
        btnCheckEditCancel = new javax.swing.JButton();
        btnCheckEditSave = new javax.swing.JButton();
        btnCheckEditDel = new javax.swing.JButton();
        btnCheckPrint = new javax.swing.JButton();
        pnlEditCheck = new javax.swing.JPanel();
        lblRPCode = new javax.swing.JLabel();
        txtRPCode = new javax.swing.JTextField();
        lblReCode = new javax.swing.JLabel();
        txtCPDate = new javax.swing.JTextField();
        txtReCode = new javax.swing.JTextField();
        lblDBCode = new javax.swing.JLabel();
        lblCPDate = new javax.swing.JLabel();
        txtDBCode = new javax.swing.JTextField();

        setMaximumSize(new java.awt.Dimension(700, 500));
        setMinimumSize(new java.awt.Dimension(700, 500));
        setLayout(new java.awt.BorderLayout());

        pnlHeadEditCheck.setBackground(new java.awt.Color(204, 255, 204));
        pnlHeadEditCheck.setMaximumSize(new java.awt.Dimension(700, 80));
        pnlHeadEditCheck.setMinimumSize(new java.awt.Dimension(700, 80));
        pnlHeadEditCheck.setPreferredSize(new java.awt.Dimension(700, 80));

        lblHeadEditCheck.setFont(new java.awt.Font("Tahoma", 1, 16));
        lblHeadEditCheck.setText("ตรวจสอบสินค้า");

        btnCheckEditCancel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icon/cancel_30x30.gif"))); // NOI18N

        btnCheckEditSave.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icon/save_30x30.gif"))); // NOI18N

        btnCheckEditDel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icon/del_30x30.gif"))); // NOI18N

        btnCheckPrint.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icon/print_30x30.gif"))); // NOI18N

        javax.swing.GroupLayout pnlHeadEditCheckLayout = new javax.swing.GroupLayout(pnlHeadEditCheck);
        pnlHeadEditCheck.setLayout(pnlHeadEditCheckLayout);
        pnlHeadEditCheckLayout.setHorizontalGroup(
            pnlHeadEditCheckLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlHeadEditCheckLayout.createSequentialGroup()
                .addGroup(pnlHeadEditCheckLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(pnlHeadEditCheckLayout.createSequentialGroup()
                        .addGap(20, 20, 20)
                        .addComponent(lblHeadEditCheck))
                    .addGroup(pnlHeadEditCheckLayout.createSequentialGroup()
                        .addGap(20, 20, 20)
                        .addComponent(btnCheckEditSave, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(btnCheckEditCancel, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(btnCheckEditDel, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(btnCheckPrint, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(491, Short.MAX_VALUE))
        );
        pnlHeadEditCheckLayout.setVerticalGroup(
            pnlHeadEditCheckLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlHeadEditCheckLayout.createSequentialGroup()
                .addGap(12, 12, 12)
                .addComponent(lblHeadEditCheck)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(pnlHeadEditCheckLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(btnCheckPrint)
                    .addComponent(btnCheckEditSave, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnCheckEditCancel, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnCheckEditDel, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );

        add(pnlHeadEditCheck, java.awt.BorderLayout.PAGE_START);

        lblRPCode.setFont(new java.awt.Font("Tahoma", 0, 12));
        lblRPCode.setText("รหัสการคืนสินค้า :");

        txtRPCode.setFont(new java.awt.Font("Tahoma", 0, 12));

        lblReCode.setFont(new java.awt.Font("Tahoma", 0, 12));
        lblReCode.setText("รหัสการรับสินค้า :");

        txtCPDate.setFont(new java.awt.Font("Tahoma", 0, 12));

        txtReCode.setFont(new java.awt.Font("Tahoma", 0, 12));

        lblDBCode.setFont(new java.awt.Font("Tahoma", 0, 12));
        lblDBCode.setText("รหัสการเบิกสินค้า :");

        lblCPDate.setFont(new java.awt.Font("Tahoma", 0, 12));
        lblCPDate.setText("วันที่ตรวจสอบสินค้า :");

        txtDBCode.setFont(new java.awt.Font("Tahoma", 0, 12));

        javax.swing.GroupLayout pnlEditCheckLayout = new javax.swing.GroupLayout(pnlEditCheck);
        pnlEditCheck.setLayout(pnlEditCheckLayout);
        pnlEditCheckLayout.setHorizontalGroup(
            pnlEditCheckLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlEditCheckLayout.createSequentialGroup()
                .addGap(20, 20, 20)
                .addGroup(pnlEditCheckLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(lblRPCode)
                    .addComponent(lblDBCode)
                    .addComponent(lblReCode)
                    .addComponent(lblCPDate))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(pnlEditCheckLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(txtCPDate, javax.swing.GroupLayout.DEFAULT_SIZE, 181, Short.MAX_VALUE)
                    .addComponent(txtReCode, javax.swing.GroupLayout.DEFAULT_SIZE, 181, Short.MAX_VALUE)
                    .addComponent(txtRPCode, javax.swing.GroupLayout.DEFAULT_SIZE, 181, Short.MAX_VALUE)
                    .addComponent(txtDBCode, javax.swing.GroupLayout.DEFAULT_SIZE, 181, Short.MAX_VALUE))
                .addGap(385, 385, 385))
        );
        pnlEditCheckLayout.setVerticalGroup(
            pnlEditCheckLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlEditCheckLayout.createSequentialGroup()
                .addGap(20, 20, 20)
                .addGroup(pnlEditCheckLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txtCPDate, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblCPDate, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pnlEditCheckLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txtReCode, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblReCode, javax.swing.GroupLayout.PREFERRED_SIZE, 18, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pnlEditCheckLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txtDBCode, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblDBCode, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pnlEditCheckLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txtRPCode, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblRPCode, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(298, Short.MAX_VALUE))
        );

        add(pnlEditCheck, java.awt.BorderLayout.CENTER);
    }// </editor-fold>//GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnCheckEditCancel;
    private javax.swing.JButton btnCheckEditDel;
    private javax.swing.JButton btnCheckEditSave;
    private javax.swing.JButton btnCheckPrint;
    private javax.swing.JLabel lblCPDate;
    private javax.swing.JLabel lblDBCode;
    private javax.swing.JLabel lblHeadEditCheck;
    private javax.swing.JLabel lblRPCode;
    private javax.swing.JLabel lblReCode;
    private javax.swing.JPanel pnlEditCheck;
    private javax.swing.JPanel pnlHeadEditCheck;
    private javax.swing.JTextField txtCPDate;
    private javax.swing.JTextField txtDBCode;
    private javax.swing.JTextField txtRPCode;
    private javax.swing.JTextField txtReCode;
    // End of variables declaration//GEN-END:variables

}
